/**
 * 
 */
package algo;

import java.io.Serializable;
import java.rmi.RemoteException;

/**
 * @author b
 *
 */
public interface Algorithm {
	
	public void initialise() throws RemoteException;
	
	public void receiveMessage(int from, int to, Serializable msg) throws RemoteException;
	
	// Demande d'entree
	public void demandeEntree() throws RemoteException;
	
	// Demande de sortir
	public void demandeSortie() throws RemoteException;
	
}
